package com.chuangshi.core.vote.admin.controller.admin.request;

import com.chuangshi.core.kit.Request;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotNull;

/**
 * 管理员信息管理端V1获取单条的接收参数
 *
 * @author ggliming
 * @date 2019-02-21
 */
@ApiModel(description = "管理员信息管理端V1获取单条的接收参数")
public class AdminAdminV1LoginRequest extends Request {

    @ApiModelProperty(value = "管理员账号", required = true, position = 10)
    @NotNull(message = "管理员账号不能为空")
    @Length(max = 100, message = "管理员账号长度超出限制")
    private String adminAccount;

    @ApiModelProperty(value = "管理员密码", required = true, position = 20)
    @NotNull(message = "管理员密码不能为空")
    @Length(max = 100, message = "管理员密码长度超出限制")
    private String adminPassword;

    public String getAdminAccount() {
        return adminAccount;
    }

    public void setAdminAccount(String adminAccount) {
        this.adminAccount = adminAccount;
    }

    public String getAdminPassword() {
        return adminPassword;
    }

    public void setAdminPassword(String adminPassword) {
        this.adminPassword = adminPassword;
    }

}